

class Chat {
  late String _name, _lastMessage, _image, _time;
  late final dynamic _raw;
  late final bool _isActive;
  Chat(
      {required String name,
      required String lastMessage,
      required String image,
      required String time,
      required bool isActive,
      required dynamic raw}) {
    _name = name;
    _lastMessage = lastMessage;
    _image = image;
    _time = time;
    _isActive = isActive;
    _raw = raw;
  }

  set name(String value) {
    _name = value;
  }

  bool get isActive => _isActive;

  dynamic get raw => _raw;

  get time => _time;

  get image => _image;

  get lastMessage => _lastMessage;

  String get name => _name;

  set lastMessage(value) {
    _lastMessage = value;
  }

  set isActive(bool value) {
    _isActive = value;
  }

  set raw(dynamic value) {
    _raw = value;
  }

  set time(value) {
    _time = value;
  }

  set image(value) {
    _image = value;
  }
}

var chatsData = <Chat>[
  // Chat(
  //   name: "Jenny Wilson",
  //   lastMessage: "Hope you are doing well...",
  //   image: "assets/images/user.png",
  //   time: "3m ago",
  //   isActive: false,
  // ),
  // Chat(
  //   name: "Esther Howard",
  //   lastMessage: "Hello Abdullah! I am...",
  //   image: "assets/images/user_2.png",
  //   time: "8m ago",
  //   isActive: true,
  // ),
  // Chat(
  //   name: "Ralph Edwards",
  //   lastMessage: "Do you have update...",
  //   image: "assets/images/user_3.png",
  //   time: "5d ago",
  //   isActive: false,
  // ),
  // Chat(
  //   name: "Jacob Jones",
  //   lastMessage: "You’re welcome :)",
  //   image: "assets/images/user_4.png",
  //   time: "5d ago",
  //   isActive: true,
  // ),
  // Chat(
  //   name: "Albert Flores",
  //   lastMessage: "Thanks",
  //   image: "assets/images/user_5.png",
  //   time: "6d ago",
  //   isActive: false,
  // ),
  // Chat(
  //   name: "Jenny Wilson",
  //   lastMessage: "Hope you are doing well...",
  //   image: "assets/images/user.png",
  //   time: "3m ago",
  //   isActive: false,
  // ),
  // Chat(
  //   name: "Esther Howard",
  //   lastMessage: "Hello Abdullah! I am...",
  //   image: "assets/images/user_2.png",
  //   time: "8m ago",
  //   isActive: true,
  // ),
  // Chat(
  //   name: "Ralph Edwards",
  //   lastMessage: "Do you have update...",
  //   image: "assets/images/user_3.png",
  //   time: "5d ago",
  //   isActive: false,
  // ),
];
